home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / Tool Chest / Networking / SNMP / SNMP Development / MacSNMP Developer 1.0.2 / Sample Agent / Makefile next >
Encoding:
Makefile  |  1993-06-15  |  7.0 KB  |  183 lines  |  [TEXT/MPS ]

  1. # This makefile was produced at 3:45:27 PM on Fri, Oct 16, 1992 by
  2. # MakeMake 2.0d38q1 (4/14/1992) by Rick Holzgrafe, scott douglass, Jeff Holcomb, MQ.
  3. #
  4. # The BuildSharedLibrary command is over 256 characters.  It will produce a make command that is too long.
  5. # The following MAKEMAKE macro will produce a correct makefile, but an incorrect MAKEMAKE comment.  There are two ways to fix this:
  6. # 1) hand fix the MAKEMAKE macro after it comes out to look like the one below, or 2) take out the ∂'∂n' (which
  7. # forces an end of line) and let the MAKEMAKE comment go over 256 characters per line (which is okay for the makemake
  8. # command) but realize that you have to go in and fix the BuildSharedLibrary command line in the makefile by hand because make can't
  9. # understand a line that is over 256 characters.  AARGH!  Don't worry, make will complain in an obvious manner if you
  10. # forget to fix the make file.
  11.  
  12.  
  13. # MAKEMAKE = makemake ∂
  14. #            -objdir :Objects: -comment -srcdirs :Sources: -ic ∂
  15. #            "::Library Manager Interfaces:" -ic "::SNMP Interfaces:" -ic :Sources: -ia ∂
  16. #            "::Library Manager Interfaces:" -ia "::SNMP Interfaces:" -ia :Sources: -i ∂
  17. #            "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i :Sources: ∂
  18. #            'StdAIncludes=-i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i ":Sources:" -i "{AIncludes}"' ∂
  19. #            'StdCIncludes=-i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i ":Sources:" -i "{CIncludes}"' ∂
  20. #            'StdCPIncludes=-i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i ":Sources:" -i "{CIncludes}"' ∂
  21. #            'CPlus=CPlus -sym on,nolines -model far -mf -b2 -opt full -w1 -z15 -z17 {StdCPIncludes}' ∂
  22. #            'LIB=Lib {SymbolOption}' 'LINK=Link {SymbolOption} {ModelOption}' ∂
  23. #        -t :Objects:SampleAgent.o ∂
  24. #            :Sources:SampleAgent.cp ∂
  25. #        -t :Objects:SampleAgent.clf.o ∂
  26. #            -customonly 'SetFile -m . {Targ}' :Objects:SampleAgent.RSRC ∂
  27. #        -t :Objects:SampleAgent.cln.o ∂
  28. #            -customonly 'SetFile -m . {Targ}' :Objects:SampleAgent.RSRC ∂
  29. #        -t :Sources:SampleAgent.r ∂
  30. #            -customonly "" :Objects:SampleAgent.RSRC ∂
  31. #        -t :Objects:SampleAgent.RSRC ∂
  32. #            -customonly ∂
  33. #            "BuildSharedLibrary ∂":Objects:SampleAgent.o∂" ∂'∂n'    ∂
  34. #            -o ∂":Objects:SampleAgent.RSRC∂"     ∂
  35. #            -far ∂":Objects:SampleAgent.clf.o∂" -near ∂":Objects:SampleAgent.cln.o∂" ∂'∂n'    ∂
  36. #            -exp ∂":Sources:SampleAgent.exp∂" -restype code -resid 0 ∂'∂n'    ∂
  37. #            -i ∂"::SNMP Interfaces:∂" -i ∂":Sources:∂" -i ∂"::Library Manager Interfaces:∂"     ∂
  38. #            ∂"::Libraries:SNMPLibrary.clf.o∂" ∂'∂n'    ∂
  39. #            ∂"::Libraries:LibraryManager.o∂" ∂'∂n'    ∂
  40. #            ∂"{Libraries}Runtime.o" ∂'∂n'    ∂
  41. #            ∂"{Libraries}Interface.o∂"" ∂
  42. #            :Sources:SampleAgent.exp :Objects:SampleAgent.o ∂
  43. #            ::Libraries:SNMPLibrary.clf.o ::Libraries:LibraryManager.o ∂
  44. #            '{Libraries}Runtime.o' '{Libraries}Interface.o' ::Tools:LibraryBuilder ∂
  45. #        -t ":Built:SNMP Sample Agent" ∂
  46. #            -r "-t libr -c snmp -s :Objects:" -f "-a ib" ∂
  47. #            :Sources:SampleAgent.r
  48.  
  49. :Objects:    ƒ :Sources:
  50.  
  51. TARGETS = :Objects:SampleAgent.o :Objects:SampleAgent.clf.o ∂
  52.     :Objects:SampleAgent.cln.o :Sources:SampleAgent.r ∂
  53.     :Objects:SampleAgent.RSRC ":Built:SNMP Sample Agent"
  54.  
  55. DOT_H = :Sources:SampleAgent.h :Sources:SampleVar.h
  56.  
  57. DOT_R = :Sources:SampleAgent.r
  58.  
  59. SRCS = :Sources:SampleAgent.cp
  60.  
  61. # For :Objects:SampleAgent.o
  62. OBJS_00 = :Objects:SampleAgent.cp.o
  63.  
  64. # For :Objects:SampleAgent.RSRC
  65. LIBS_04 = :Objects:SampleAgent.o ::Libraries:SNMPLibrary.clf.o ∂
  66.     ::Libraries:LibraryManager.o "{Libraries}Runtime.o" "{Libraries}Interface.o"
  67.  
  68. # For ":Built:SNMP Sample Agent"
  69. RES_05 = :Sources:SampleAgent.r
  70.  
  71. # For :Objects:SampleAgent.clf.o
  72. EXDEPS_01 = :Objects:SampleAgent.RSRC
  73.  
  74. # For :Objects:SampleAgent.cln.o
  75. EXDEPS_02 = :Objects:SampleAgent.RSRC
  76.  
  77. # For :Sources:SampleAgent.r
  78. EXDEPS_03 = :Objects:SampleAgent.RSRC
  79.  
  80. # For :Objects:SampleAgent.RSRC
  81. EXDEPS_04 = :Sources:SampleAgent.exp ::Tools:LibraryBuilder
  82.  
  83. StdAIncludes = -i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i ":Sources:" -i "{AIncludes}"
  84. StdCIncludes = -i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i ":Sources:" -i "{CIncludes}"
  85. StdCPIncludes = -i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i ":Sources:" -i "{CIncludes}"
  86. CPlus        = CPlus -sym on,nolines -model far -mf -b2 -opt full -w1 -z15 -z17 {StdCPIncludes}
  87. LIB          = Lib {SymbolOption}
  88. LINK         = Link {SymbolOption} {ModelOption}
  89. COUNT        = Count
  90. COUNTOPTS    = 
  91. CTAGS        = Ctags
  92. CTAGSOPTS    = -p -local -update
  93. DELETE       = Delete
  94. DELETEOPTS   = -i
  95. FILES        = Files
  96. FILESOPTS    = -l
  97. LIBOPTS      = 
  98. LINKOPTS     = 
  99. MAKEFILE     = Makefile
  100. PRINT        = Print
  101. PRINTOPTS    = 
  102. REZ          = Rez
  103. SETFILE      = SetFile
  104. SETFILEOPTS  = -t 'MPST' -c 'MPS '
  105.  
  106.  
  107. AOptions = -i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i :Sources: ∂
  108.     -i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i :Sources:
  109.  
  110. COptions = -i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i :Sources: ∂
  111.     -i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i :Sources:
  112.  
  113. POptions = -i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i :Sources:
  114.  
  115. ROptions = -a -i "::Library Manager Interfaces:" -i "::SNMP Interfaces:" -i :Sources:
  116.  
  117. all    ƒ {TARGETS}
  118.  
  119. :Objects:SampleAgent.o    ƒ {OBJS_00}
  120.     {LIB} {LIBOPTS} -o {Targ} {OBJS_00}
  121.  
  122.  
  123. :Objects:SampleAgent.clf.o    ƒ {EXDEPS_01}
  124.     SetFile -m . {Targ}
  125.  
  126.  
  127. :Objects:SampleAgent.cln.o    ƒ {EXDEPS_02}
  128.     SetFile -m . {Targ}
  129.  
  130.  
  131. :Sources:SampleAgent.r    ƒ {EXDEPS_03}
  132.     
  133.  
  134.  
  135. :Objects:SampleAgent.RSRC    ƒ {LIBS_04} {EXDEPS_04}
  136.     BuildSharedLibrary ":Objects:SampleAgent.o" ∂
  137.     -o ":Objects:SampleAgent.RSRC"     -far ":Objects:SampleAgent.clf.o" -near ":Objects:SampleAgent.cln.o" ∂
  138.     -exp ":Sources:SampleAgent.exp" -restype code -resid 0 ∂
  139.     -i "::SNMP Interfaces:" -i ":Sources:" -i "::Library Manager Interfaces:"     "::Libraries:SNMPLibrary.clf.o" ∂
  140.     "::Libraries:LibraryManager.o" ∂
  141.     "{Libraries}Runtime.o" ∂
  142.     "{Libraries}Interface.o"
  143.  
  144.  
  145. ":Built:SNMP Sample Agent"    ƒƒ {RES_05}
  146.     {REZ} -t libr -c snmp -s :Objects: -i "::Library Manager Interfaces:" ∂
  147.         -i "::SNMP Interfaces:" -i :Sources: -o {Targ} {RES_05}
  148.  
  149. ":Built:SNMP Sample Agent"    ƒƒ {RES_05}
  150.     {SETFILE} -a ib {Targ}
  151.  
  152.  
  153.  
  154. clean    ƒ
  155.     {DELETE} {DELETEOPTS} {OBJS_00}
  156.  
  157. clobber    ƒ clean
  158.     {DELETE} {DELETEOPTS} {TARGETS}
  159.  
  160. count    ƒ
  161.     {COUNT} {COUNTOPTS} {DOT_H} {DOT_R} {SRCS}
  162.  
  163. files    ƒ
  164.     {FILES} {FILESOPTS} {TARGETS} {MAKEFILE} {DOT_H} {DOT_R} {SRCS} {OBJS_00}
  165.  
  166. print    ƒ
  167.     {PRINT} {PRINTOPTS} {MAKEFILE} {DOT_H} {DOT_R} {SRCS}
  168.  
  169. tags    ƒ {DOT_H} {SRCS}
  170.     {CTAGS} {CTAGSOPTS} {C_INCDIRS} {NewerDeps}
  171.  
  172.  
  173. :Objects:SampleAgent.cp.o ƒ ∂
  174.         "{CIncludes}Types.h" "{CIncludes}Resources.h" "{CIncludes}Files.h" ∂
  175.         "{CIncludes}OSUtils.h" "{CIncludes}SegLoad.h" "{CIncludes}ToolUtils.h" ∂
  176.         "{CIncludes}Quickdraw.h" "{CIncludes}String.h" ∂
  177.         "::SNMP Interfaces:SNMP.h" "::SNMP Interfaces:SNMPVarTypes.h" ∂
  178.         "::SNMP Interfaces:TSNMP.h" "::Library Manager Interfaces:LibraryManager.h" ∂
  179.         "{CIncludes}StdDef.h" "{CIncludes}Memory.h" "{CIncludes}Aliases.h" ∂
  180.         "{CIncludes}AppleTalk.h" "::Library Manager Interfaces:LibraryManagerUtilities.h" ∂
  181.         "::Library Manager Interfaces:LibraryManagerClasses.h" "{CIncludes}SetJmp.h" ∂
  182.         "{CIncludes}Strings.h" :Sources:SampleAgent.h :Sources:SampleVar.h
  183.